package com.zhejiangzhengyuan.municipal_common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhejiangzhengyuan.municipal_common.entity.BridgeGis;
import com.zhejiangzhengyuan.municipal_common.entity.dto.FileDto;
import com.zhejiangzhengyuan.municipal_common.entity.vo.BridgeVo;

/**
 * <p>
 * GIS数据库中桥梁表（一路一档建设） 服务类
 * </p>
 *
 * @author linju
 * @since 2019-11-22
 */

public interface BridgeGisService extends IService<BridgeGis> {

    IPage<BridgeGis> page(Long pageNo, Long pageSize);

    int updateBridge(BridgeGis bridgeGis);

    int saveBridge(BridgeGis bridgeGis);


    BridgeGis findPointByBridge(String startPoint,String endPoint);

    int updateBridgeFile(FileDto dto);

    IPage<BridgeVo> selectAllBridge(Page<BridgeVo> page);
}
